# Maintainer: Andreas Kemnade <andreas@kemnade.info>
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-kobo-clara2e
pkgdesc="Kobo Clara 2E"
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
options="!check !archcheck"
depends="
	linux-postmarketos-imx-ereader
	kobo-epdc-extractor
	postmarketos-base
	u-boot-kobo-clara2e
"
_pmb_recommends="
	linux-firmware-mrvl
	linux-firmware-nxp
"
makedepends="devicepkg-dev"

source="
	deviceinfo
	modules-initfs
"

build() {
	devicepkg_build $startdir $pkgname
}

package() {
	devicepkg_package $startdir $pkgname
}

sha512sums="
8c9233bdeac073310b916efc8a3f59f1a69dec4cf561ce141e2701ecd245f61372cd16ce8bd718f34bb70014687f6cd02a1dc1d678201687cdb6c0f40e52efaa  deviceinfo
90da9f4f7833af6286c7dad81c5601bb2e35f814f501d02d9e37a80f35c453ae8b8a5c49ed36fcb5b35eef1d81280679a82ef80a60b4bca373a33b0b8f881511  modules-initfs
"
